package work.timejay.entity;

import work.timejay.common.SuperModel;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 采集结果集表
 * </p>
 *
 * @author 王文杰
 * @since 2023-12-09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("copy_books_catalogue")
public class CopyBooksCatalogue extends SuperModel<CopyBooksCatalogue> {

    private static final long serialVersionUID = 1L;

    /**
     * 标题
     */
    @TableField("title")
    private String title;

    /**
     * 类目类型
     */
    @TableField("type")
    private String type;

    /**
     * json
     */
    @TableField("content")
    private String content;

    /**
     * 数量 or page数
     */
    @TableField("page_count")
    private Long pageCount;

    /**
     * 0 未完成  1 完成
     */
    @TableField("status")
    private Boolean status;

    /**
     * 0 未处理 1已经处理
     */
    @TableField("handler_status")
    private Boolean handlerStatus;


    public static final String TITLE = "title";

    public static final String TYPE = "type";

    public static final String CONTENT = "content";

    public static final String PAGE_COUNT = "page_count";

    public static final String STATUS = "status";

    @Override
    protected Serializable pkVal() {
        return null;
    }

}
